﻿console.log('starting application');

var util = require('util');
var http = require('http');

var requestNo = 0;
http.createServer(function (request, response) {
    console.log('got request to %s', request.url);
    response.write(util.format('(%d) kiwi.node served',++requestNo,request.url));
    response.on('close', function () { console.log('connection closed'); });

}).listen(1337, '+');
